package com.horsen.service.edu.model.VO;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * 科目VO
 *
 * @author Horsen
 */
@Data
@ApiModel("科目VO")
public class SubjectVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("科目ID")
    private String id;

    @ApiModelProperty("科目名称")
    private String title;

    @ApiModelProperty("排序")
    private String sort;

    private List<SubjectVO> children = new ArrayList<>();
}
